package Model;

import java.util.Date;

public class ScienceBook extends Book {
    public ScienceBook(String title, String author, String isbn, String genre, int pageCount, double price, Date publicationDate,double baseFine) {
        super(title, author, isbn, genre, pageCount, price, publicationDate, baseFine);
    }

    @Override
    public void displayInfo() {
        System.out.println("Science Model.Book:");
        System.out.println("Title: " + getTitle());
        System.out.println("Author: " + getAuthor());
        System.out.println("ISBN: " + getIsbn());
        System.out.println("Genre: " + getGenre());
        System.out.println("Page Count: " + getPageCount());
        System.out.println("Price: $" + getPrice());
        System.out.println("Publication Date: " + getPublicationDate());
        System.out.println("Available: " + (isAvailable() ? "Yes" : "No"));
    }

}